﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style.css">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>

<?php

include("../inc/joomlaInt_admin.php");

if ($jUser==0)
{
	echo "Bitte zuerst einloggen!";
}
else
{

$q="SELECT gid FROM $tbl_users WHERE id=$jUser";
					$qe=mysql_query($q);
					$qeo=mysql_fetch_object($qe);
					
					$gid=$qeo->gid;
					
					if ($gid!=$admingroup)
					{
						echo "Du bist kein Admin!";
						break;
					}

echo '					<form enctype="multipart/form-data" action="picupload_v.php" method="post">
						Bildnamen eingeben:<input type="text" name="name" value=""><br>
						<input type="hidden" name="MAX_FILE_SIZE" value="100000000">
						Datei hochladen: <input name="userfile" type="file">
						<input type="submit" value="Upload">
						</form>';
}						
?> 

</body>
</html>